<div class="visitor">
    <div class="nav">
        <div class="nav-li focus">访客记录</div>
    </div>
    <hr />
    <div>
        <h4>访问统计</h4>
        <br>
        <div>总访问量：{{$Cache.bus.visitor.total_number}}次</div>
        <br>
        <h4>最近20条访问记录</h4>
        <table>
            <thead>
                <td>编号</td>
                <td>访问者的地理位置</td>
                <td>最后访问时间</td>
                <td>累积访问次数</td>
            </thead>
            {{#each $Cache.bus.visitor.statistical}}
            <tr>
                <td>{{$Index+1}}</td>
                <td>{{ip_info_detail||ip}}</td>
                <td>{{#Time last_visit_time,'YYYY-MM-DD HH:mm:ss'}}</td>
                <td>{{set.length}}</td>
            </tr>
            {{/each}}
        </table>
    </div>
</div>
